package com.zxcrm.zxcrm.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zxcrm.common.annotation.Excel;
import com.zxcrm.common.core.domain.BaseEntity;

/**
 * 商机和联系人关系表对象 zxcrm_business_contact
 * 
 * @author xu
 * @date 2025-07-11
 */
@Data
@NoArgsConstructor
public class ZxcrmBusinessContact extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long businessOpportunityId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long contactId;

    public ZxcrmBusinessContact(Long businessOpportunityId, Long contactId)
    {
        this.businessOpportunityId = businessOpportunityId;
        this.contactId = contactId;
    }
}
